<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>人事档案</title>
<import file="js.My97DatePicker.WdatePicker" />
<import type="css" file="css.workform" />
<import type="css" file="css.form" />
<import type="css" file="css.global" />
<import type="js" file="js.common" />
<import type="js" file="js.jquery" />
<script Language="JavaScript">
function CheckForm()
{
	if($("input[name='name']").val() == ''){ alert("姓名不能为空！"); return false; }
}
</script>
</head>

<body>
<div class="search"><b>人员档案</b></div>
<form action="__APP__/Resources/save" method="post" name="form1" onsubmit="return CheckForm();">
  <table align="center" border="0" width="100%" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="TableBlock">
    <tr class="TableControl">
      <td nowrap colspan="4">
        	<font size="5pt">基本信息</font>
      </td>
    </tr>
    <tr>
     <td nowrap class="TableContent"> 姓名：</td>
      <td class="TableData" nowrap>
        <input type="text" name="name" size="15" maxlength="30" class="BigInput" value="{$data_personnel.name}">
      </td>
      <td nowrap class="TableContent"> 性别：</td>
      <td class="TableData">
        <if condition="$data_personnel.sex eq '男'" >
			<input type="radio" name="sex" value="男" checked>男
			<input type="radio" name="sex" value="女" >女
		<else />
			<input type="radio" name="sex" value="男" >男
			<input type="radio" name="sex" value="女" checked >女
		</if>
      </td>
    </tr>
    <tr>
     <td nowrap class="TableContent"> 出生日期：</td>
      <td class="TableData" nowrap>
        <input type="text" name="birthday" size="15" maxlength="10" class="BigInput" onClick="WdatePicker()" value="{$data_personnel.birthday}" >
      </td>
      <td nowrap class="TableContent"> 年龄：</td>
      <td class="TableData">
        <input type="text" name="age" size="5" maxlength="10" class="BigInput"  value="{$data_personnel.age}">岁
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 身份证号码：</td>
      <td class="TableData">
        <input type="text" name="ID_card" size="25" maxlength="18" class="BigInput" value="{$data_personnel.ID_card}">
      </td>
      <td nowrap class="TableContent"> 民族：</td>
      <td class="TableData">
        <input type="text" name="nation" size="15" maxlength="20" class="BigInput" value="{$data_personnel.nation}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 籍贯：</td>
      <td class="TableData">
        <input type="text" name="hometown" size="15" maxlength="30" class="BigInput" value="{$data_personnel.hometown}">
      </td>
      <td nowrap class="TableContent"> 户口所在地：</td>
      <td class="TableData">
        <input type="text" name="account" size="25" maxlength="30" class="BigInput" value="{$data_personnel.account}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 手机号码：</td>
      <td class="TableData">
        <input type="text" name="mobile_number" size="30" maxlength="50" class="BigInput" value="{$data_personnel.mobile_number}">
      </td>
      <td nowrap class="TableContent"> 个人邮箱：</td>
      <td class="TableData">
        <input type="text" name="email" size="25" maxlength="50" class="BigInput" value="{$data_personnel.email}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> QQ号：</td>
      <td class="TableData">
        <input type="text" name="qq" size="15" maxlength="15" class="BigInput" value="{$data_personnel.qq}">
      </td>
      <td nowrap class="TableContent"> MSN：</td>
      <td class="TableData">
        <input type="text" name="msn" size="25" maxlength="50" class="BigInput" value="{$data_personnel.msn}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 家庭地址：</td>
      <td class="TableData">
        <input type="text" name="home_address" size="35" maxlength="100" class="BigInput" value="{$data_personnel.home_address}">
      </td>
      <td nowrap class="TableContent"> 家庭电话：</td>
      <td class="TableData">
        <input type="text" name="home_phone" size="15" maxlength="15" class="BigInput" value="{$data_personnel.home_phone}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 现居住地址：</td>
      <td class="TableData">
        <input type="text" name="now_address" size="35" maxlength="100" class="BigInput" value="{$data_personnel.now_address}">
      </td>
      <td nowrap class="TableContent"> 婚姻状况：</td>
      <td class="TableData">
        <if condition="$data_personnel.marital eq '未婚'" >
			<input type="radio" name="marital" value="未婚" checked>未婚
			<input type="radio" name="marital" value="已婚" >已婚
			<input type="radio" name="marital" value="离异" >离异
		<elseif condition="$data_personnel.marital eq '已婚'" />
			<input type="radio" name="marital" value="未婚" >未婚
			<input type="radio" name="marital" value="已婚" checked>已婚
			<input type="radio" name="marital" value="离异" >离异
		<elseif condition="$data_personnel.marital eq '离异'" />
	        <input type="radio" name="marital" value="未婚" >未婚
			<input type="radio" name="marital" value="已婚" >已婚
			<input type="radio" name="marital" value="离异" checked>离异
		<else />
			<input type="radio" name="marital" value="未婚" >未婚
			<input type="radio" name="marital" value="已婚" >已婚
			<input type="radio" name="marital" value="离异" >离异
		</if>
		
		
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 政治面貌：</td>
      <td class="TableData">
        <select name="political_landscape" class="BigSelect">
          <option value="群众">群众</option>
          <option value="团员">团员</option>
          <option value="预备党员">预备党员</option>
          <option value="党员">党员</option>
        </select>
      </td>
      <td nowrap class="TableContent"> 备注：</td>
      <td class="TableData">
      </td>
    </tr>
    <tr class="TableControl">
      <td nowrap colspan="4">
        	<font size="5pt">教育信息</font>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 学历：</td>
      <td class="TableData">
        <select name="educational_background" class="BigSelect">
          <option value="小学">小学</option>
          <option value="初中">初中</option>
          <option value="高中">高中</option>
          <option value="中专">中专</option>
          <option value="大专">大专</option>
          <option value="本科">本科</option>
          <option value="硕士">硕士</option>
          <option value="博士">博士</option>
          <option value="博士后">博士后</option>
        </select>
      </td>
      <td nowrap class="TableContent"> 专业：</td>
      <td class="TableData">
        <input type="text" name="specialty" size="25" maxlength="25" class="BigInput" value="{$data_personnel.specialty}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 毕业院校：</td>
      <td class="TableData" colspan="3">
        <input type="text" name="graduated" size="35" maxlength="25" class="BigInput" value="{$data_personnel.graduated}">
      </td>
    </tr>
    <tr class="TableControl">
      <td nowrap colspan="4">
        	<font size="5pt">工作信息</font>
      </td>
    </tr>
   <tr>
      <td nowrap class="TableContent">参加工作时间：</td>
      <td class="TableData">
        <input type="text" name="start_work_date" size="15" maxlength="10" class="BigInput" onClick="WdatePicker()" value="{$data_personnel.start_work_date}">
      </td>
      <td nowrap class="TableContent"> 加入本单位时间：</td>
      <td class="TableData">
        <input type="text" name="join_now_date" size="15" maxlength="10" class="BigInput" onClick="WdatePicker()" value="{$data_personnel.join_now_date}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 部门：</td>
      <td class="TableData">
        <select name="dept_id" class="BigSelect">
			<volist name="data_dept" id="vo1">
			  <php>
	          	if($vo1["id"] == $data_personnel["dept_id"]){
	          </php>
	          	<option value="{$vo1.id}" selected>{$vo1.dept_name}
	          <php>
	          	}else{
	          </php>
	          	<option value="{$vo1.id}">{$vo1.dept_name}
	          <php>
	          	}
	          </php>
			</volist>
		</select>
      </td>
      <td nowrap class="TableContent"> 职称：</td>
      <td class="TableData">
        <input type="text" name="job_title" size="15" maxlength="25" class="BigInput" value="{$data_personnel.job_title}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 角色：</td>
      <td class="TableData">
        <select name="priv_id" class="BigSelect">
          <volist name="data_priv" id="vo">
          <php>
          	if($vo["id"] == $data_personnel["priv_id"]){
          </php>
          	<option value="{$vo.id}" selected>{$vo.priv_name}
          <php>
          	}else{
          </php>
          	<option value="{$vo.id}">{$vo.priv_name}
          <php>
          	}
          </php>
			</volist>
      </select>
      </td>
      <td nowrap class="TableContent"> 工作牌号：</td>
       <td class="TableData">
        <input type="text" name="work_card" size="15" maxlength="20" class="BigInput" value="{$data_personnel.work_card}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 工作地点：</td>
      <td class="TableData">
     <input type="text" name="work_add" size="15" maxlength="20" class="BigInput" value="{$data_personnel.work_add}">
      </td>
      <td nowrap class="TableContent"> 梯控卡号：</td>
       <td class="TableData">
        <input type="text" name="elevator_card" size="15" maxlength="20" class="BigInput" value="{$data_personnel.elevator_card}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 公司邮箱：</td>
      <td class="TableData">
        <input type="text" name="work_email" size="25" maxlength="50" class="BigInput" value="{$data_personnel.work_email}">
      </td>
      <td nowrap class="TableContent"> 电话分机号：</td>
       <td class="TableData">
        <input type="text" name="work_phone" size="15" maxlength="20" class="BigInput" value="{$data_personnel.work_phone}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 岗位变动情况：</td>
      <td class="TableData">
        <textarea cols="33" name="job_changes" rows="4" class="BigInput" wrap="on">{$data_personnel.job_changes}</textarea>
      </td>
      <td nowrap class="TableContent"> 工作简历：</td>
      <td class="TableData">
       <textarea cols="33" name="work_experience" rows="4" class="BigInput" wrap="on">{$data_personnel.work_experience}</textarea>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 奖惩记录：</td>
      <td class="TableData">
        <textarea cols="33" name="rap_records" rows="4" class="BigInput" wrap="on">{$data_personnel.rap_records}</textarea>
      </td>
      <td nowrap class="TableContent"> 培训记录：</td>
      <td class="TableData">
         <textarea cols="33" name="training_records" rows="4" class="BigInput" wrap="on">{$data_personnel.training_records}</textarea>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 合同性质：</td>
      <td class="TableData">
      	 <if condition="$data_personnel.contract_nature eq '新增'" >
			<input type="radio" name="contract_nature" value="新增" checked>新增
			<input type="radio" name="contract_nature" value="续签" >续签
		<elseif condition="$data_personnel.contract_nature eq '续签'" />
			<input type="radio" name="contract_nature" value="新增" >新增
			<input type="radio" name="contract_nature" value="续签" checked>续签
		<else />
			<input type="radio" name="contract_nature" value="新增" >新增
			<input type="radio" name="contract_nature" value="续签" >续签
		</if>
      </td>
      <td nowrap class="TableContent"> 合同签订时间：</td>
      <td class="TableData">
         <input type="text" name="contract_signed_date" size="16" maxlength="10" class="BigInput" onClick="WdatePicker()"  value="{$data_personnel.contract_signed_date}">
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 合同开始时间：</td>
      <td class="TableData">
        <input type="text" name="contract_start_date" size="16" maxlength="10" class="BigInput" onClick="WdatePicker()" value="{$data_personnel.contract_start_date}" >
      </td>
      <td nowrap class="TableContent"> 合同终止时间：</td>
      <td class="TableData">
         <input type="text" name="contract_end_date" size="16" maxlength="10" class="BigInput" onClick="WdatePicker()" value="{$data_personnel.contract_end_date}" >
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 体检记录：</td>
      <td class="TableData">
        <textarea cols="33" name="medical_records" rows="4" class="BigInput" wrap="on">{$data_personnel.medical_records}</textarea>
      </td>
      <td nowrap class="TableContent"> 社保缴纳情况：</td>
      <td class="TableData">
       <textarea cols="33" name="social_security_records" rows="4" class="BigInput" wrap="on">{$data_personnel.social_security_records}</textarea>
      </td>
    </tr>
    <tr>
      <td nowrap class="TableContent"> 工作状态：</td>
      <td class="TableData">
        <if condition="$data_personnel.work_status eq '1'" >
			<input type="radio" name="work_status" value="1" checked>在职
			<input type="radio" name="work_status" value="0" >离职
		<elseif condition="$data_personnel.work_status eq '0'" />
			<input type="radio" name="work_status" value="1" >在职
			<input type="radio" name="work_status" value="0" checked>离职
		<else />
			<input type="radio" name="work_status" value="1" >在职
			<input type="radio" name="work_status" value="0" >离职
		</if>
      </td>
      <td nowrap class="TableContent"> 保密协议：</td>
      <td class="TableData">
      	<if condition="$data_personnel.confidentiality_agreement eq '未签订'" >
			<input type="radio" name="confidentiality_agreement" value="已签订" >已签订
			<input type="radio" name="confidentiality_agreement" value="未签订" checked>未签订
		<elseif condition="$data_personnel.confidentiality_agreement eq '已签订'" />
			<input type="radio" name="confidentiality_agreement" value="已签订" checked>已签订
			<input type="radio" name="confidentiality_agreement" value="未签订" >未签订
		<else />
			<input type="radio" name="confidentiality_agreement" value="已签订" >已签订
			<input type="radio" name="confidentiality_agreement" value="未签订" >未签订
		</if>
      </td>
    </tr>
    </table>
    <div class="search center">
    	<input type="hidden" value="{$data_personnel.id}"  name="id">
		<input type="submit" value="保存" class="submit">&nbsp;&nbsp;&nbsp;
	    <input type="reset" value="重置" class="button">&nbsp;&nbsp;&nbsp;
	    <input type="button" value="返回" class="button" onclick="back();">
	</div>
</form>

</body>
</html>